import 'package:get/get_navigation/src/routes/get_route.dart';
import 'package:happy_study/ui/login/login_view.dart';
import 'package:happy_study/ui/trainning/training_binding.dart';
import 'package:happy_study/ui/trainning/training_view.dart';

import '../../ui/login/login_binding.dart';
import '../../ui/main/main_binding.dart';
import '../../ui/main/main_view.dart';

class HYRouter {
  static const String initialRoute = LoginView.routeName;
  static List<GetPage> getPages = [
    GetPage(
      name: Mainview.routeName,
      page: () => Mainview(),
      binding: MainBinding(),
    ),
    GetPage(
      name: LoginView.routeName,
      page: () => LoginView(),
      binding: LoginBinding(),
    ),
    GetPage(
      name: Trainingview.routeName,
      page: () => Trainingview(),
      binding: TrainingBinding(),
    ),
  ];
}